package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:12
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductRequirementRelateDAO extends IDataAccessInterface<ProductRequirementRelate, ProductRequirementRelateDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_REQUIREMENT_RELATE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_REQUIREMENT_RELATE.ID";

    /**
     * Mapped Field REQUIREMENT_ID
    */
    static final String RequirementId = "PRODUCT_REQUIREMENT_RELATE.REQUIREMENT_ID";

    /**
     * Mapped Field RELATED_REQUIREMENT_ID
    */
    static final String RelatedRequirementId = "PRODUCT_REQUIREMENT_RELATE.RELATED_REQUIREMENT_ID";

    /**
     * Mapped Field RELATED_TYPE
    */
    static final String RelatedType = "PRODUCT_REQUIREMENT_RELATE.RELATED_TYPE";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_REQUIREMENT_RELATE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_REQUIREMENT_RELATE.REMARKS";

    /**
     * Mapped Attribute requestCode
    */
    static final String RequestCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRequirementDAO.RequestCode,
            com.ourteam.product.requirement.dao.IProductRequirementDAO.EntityName +
            ".", "PRODUCT_REQUIREMENT.");

    /**
     * Mapped Attribute requestName
    */
    static final String RequestName = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRequirementDAO.RequestName,
            com.ourteam.product.requirement.dao.IProductRequirementDAO.EntityName +
            ".", "PRODUCT_REQUIREMENT.");

    /**
     * Mapped Attribute requestContent
    */
    static final String RequestContent = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRequirementDAO.RequestContent,
            com.ourteam.product.requirement.dao.IProductRequirementDAO.EntityName +
            ".", "PRODUCT_REQUIREMENT.");

    /**
     * Mapped Attribute requestLevel
    */
    static final String RequestLevel = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRequirementDAO.RequestLevel,
            com.ourteam.product.requirement.dao.IProductRequirementDAO.EntityName +
            ".", "PRODUCT_REQUIREMENT.");

    /**
     * Mapped Attribute requestStatus
    */
    static final String RequestStatus = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRequirementDAO.Status,
            com.ourteam.product.requirement.dao.IProductRequirementDAO.EntityName +
            ".", "PRODUCT_REQUIREMENT.");

    /**
     * Mapped Attribute requestType
    */
    static final String RequestType = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRequirementDAO.RequestType,
            com.ourteam.product.requirement.dao.IProductRequirementDAO.EntityName +
            ".", "PRODUCT_REQUIREMENT.");

    /**
     * Mapped Attribute relatedRequestCode
    */
    static final String RelatedRequestCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRequirementDAO.RequestCode,
            com.ourteam.product.requirement.dao.IProductRequirementDAO.EntityName +
            ".", "RELATED_PRODUCT_REQUIREMENT.");

    /**
     * Mapped Attribute relatedRequestName
    */
    static final String RelatedRequestName = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRequirementDAO.RequestName,
            com.ourteam.product.requirement.dao.IProductRequirementDAO.EntityName +
            ".", "RELATED_PRODUCT_REQUIREMENT.");

    /**
     * Mapped Attribute relatedRequestContent
    */
    static final String RelatedRequestContent = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRequirementDAO.RequestContent,
            com.ourteam.product.requirement.dao.IProductRequirementDAO.EntityName +
            ".", "RELATED_PRODUCT_REQUIREMENT.");

    /**
     * Mapped Attribute relatedRequestLevel
    */
    static final String RelatedRequestLevel = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRequirementDAO.RequestLevel,
            com.ourteam.product.requirement.dao.IProductRequirementDAO.EntityName +
            ".", "RELATED_PRODUCT_REQUIREMENT.");

    /**
     * Mapped Attribute relatedRequestStatus
    */
    static final String RelatedRequestStatus = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRequirementDAO.Status,
            com.ourteam.product.requirement.dao.IProductRequirementDAO.EntityName +
            ".", "RELATED_PRODUCT_REQUIREMENT.");

    /**
     * Mapped Attribute relatedRequestType
    */
    static final String RelatedRequestType = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRequirementDAO.RequestType,
            com.ourteam.product.requirement.dao.IProductRequirementDAO.EntityName +
            ".", "RELATED_PRODUCT_REQUIREMENT.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductRequirementRelate findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute requirementId
         */
        static final String RequirementId = "requirementId";

        /**
         * Attribute relatedRequirementId
         */
        static final String RelatedRequirementId = "relatedRequirementId";

        /**
         * Attribute relatedType
         */
        static final String RelatedType = "relatedType";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute requestCode
         */
        static final String RequestCode = "requestCode";

        /**
         * Attribute requestName
         */
        static final String RequestName = "requestName";

        /**
         * Attribute requestContent
         */
        static final String RequestContent = "requestContent";

        /**
         * Attribute requestLevel
         */
        static final String RequestLevel = "requestLevel";

        /**
         * Attribute relatedRequestCode
         */
        static final String RelatedRequestCode = "relatedRequestCode";

        /**
         * Attribute relatedRequestName
         */
        static final String RelatedRequestName = "relatedRequestName";

        /**
         * Attribute relatedRequestContent
         */
        static final String RelatedRequestContent = "relatedRequestContent";

        /**
         * Attribute relatedRequestLevel
         */
        static final String RelatedRequestLevel = "relatedRequestLevel";

        /**
         * Attribute relatedRequestStatus
         */
        static final String RelatedRequestStatus = "relatedRequestStatus";

        /**
         * Attribute requestStatus
         */
        static final String RequestStatus = "requestStatus";

        /**
         * Attribute requestType
         */
        static final String RequestType = "requestType";

        /**
         * Attribute relatedRequestType
         */
        static final String RelatedRequestType = "relatedRequestType";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
